onCreateInputConnection

@Nullable
open fun onCreateInputConnection(@NonNull outAttrs: @NonNull EditorInfo): @Nullable InputConnection(source)

If a listener is set, the returned InputConnection will use it to handle calls to commitContent.